<template>
	<view>
		<!-- <view class="header">
			<view class="headerLeft">
				<image class="backImg" src="../../static/icons/lx/icon_statusbar_back2x.png" mode="" @tap="back">
				</image>
				<text class="headerText">我的二维码</text>
			</view>
		</view> -->
		<view class="qrcodeDiv">
			<image class="personPhoto" :src="personPhoto" mode=""></image>
			<view class="nameDiv">
				<text class="name">有猫饼</text>
			</view>
			<image class="qrcodeimg" :src="QRcodeImg" mode=""></image>
			<view class="infoDiv">
				<text class="infoText">扫二维码添加车友</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				personPhoto: "../../static/images/lx/default.png",
				QRcodeImg: "../../static/images/lx/Image_QRcode_2x.png"

			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style>
	.header {
		display: flex;
		align-items: center;
		margin-bottom: 2rpx;
		overflow: hidden;
		width: 750rpx;
		height: 88rpx;
		background-color: #ffffff;
		border-bottom: ;
	}

	.headerLeft {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-left: 24rpx;
		margin-top: 16rpx;
		width: 450rpx;
		height: 56rpx;
	}

	.backImg {
		height: 56rpx;
		width: 44rpx;
	}

	.headerText {
		height: 56rpx;
		font-family: PingFang SC;
		font-size: 40rpx;
		line-height: 56rpx;
		color: #232323;
	}

	.qrcodeDiv {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin: 55rpx auto;
		width: 580rpx;
		height: 710rpx;
		background-color: #ffffff;
		box-shadow: 0px 3px 6px 0px rgba(237, 237, 237, 0.16);
		border-radius: 20px;
	}

	.personPhoto {
		width: 86rpx;
		height: 86rpx;
		border-radius: 16rpx;
	}
	
	.name {
		font-family: PingFang SC;
		font-size: 24rpx;
		line-height: 34rpx;
		color: #232323;
	}

	.qrcodeimg {
		margin-top: 52rpx;
		width: 358rpx;
		height: 358rpx;
	}
	.infoText {
		font-family: PingFang SC;
		font-size: 20rpx;
		color: #636363;
	}
</style>
